using System;
using System.Web.UI.WebControls;

namespace ConcursoCV.UI.Clases.ManejadoresControles
{
	/// <summary>
	/// Summary description for ManejadorTextArea.
	/// </summary>
	public class ManejadorTextArea: ManejadorControles
	{
		public ManejadorTextArea()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		public override void Cargar(WebControl ctrl, object value)
		{
			((TextBox)ctrl).Text = (string) value;
		}
		public override void Inicializar(WebControl ctrl, object value)
		{
			ctrl.Width = 300;
		}
		public override string GetValor(WebControl ctrl)
		{
			return ((TextBox)ctrl).Text;
		}
	}
}
